package org.andes.kownledge.operator.func;

import org.andes.kownledge.operator.Term;

public class OrFunc extends  Func{



	@Override
	public Object doFunc() {
		for(Term para:vars){
			if(para instanceof Func){
				Object result=((Func)para).doFunc();
				if(result!=null)
					return new Boolean(true);
			}else
				return new Boolean(true);
			
		}
		return null;
	}

}
